define(["app"], function(app) {
	
	var deps = ["$cookieStore"];
	
	function service($cookieStore) {
		return {
			setCurrentId : function(currentId) {
				$cookieStore.put("currentId", currentId);
			},
			
			getCurrentId : function() {
				return $cookieStore.get("currentId");
			},
			
			removeCurrentId : function() {
				$cookieStore.remove("currentId");
			}
		};
	}
	
	service.$inject = deps;
	app.lazy.service("RelatedService", service);
});